package com.example.demo.model.request.activity;

import com.example.demo.model.dto.PrizeDTO;
import com.example.demo.model.entity.Prize;

import java.io.Serializable;
import java.util.List;

public class CreateActivityRequest implements Serializable {

    private static final long serialVersionUID = 231412312312321L;

    //活动名称
    private String name;

    //活动开始时间
    private String startTime;

    //活动结束时间
    private String endTime;

    //每名用户活动
    private Integer chance;

    //奖品列表
    private List<PrizeDTO> prizeList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getChance() {
        return chance;
    }

    public void setChance(int chance) {
        this.chance = chance;
    }

    public void setChance(Integer chance) {
        this.chance = chance;
    }

    public List<PrizeDTO> getPrizeList() {
        return prizeList;
    }

    public void setPrizeList(List<PrizeDTO> prizeList) {
        this.prizeList = prizeList;
    }
}
